package com.haikesi.api.menuauthority.domain.po;

import javax.persistence.*;

@Table(name = "authority_resources")
public class AuthorityResourcesPO {
    /**
     * 资源ID
     */
    @Id
    @Column(name = "resources_id")
    private String resourcesId;

    /**
     * 权限ID
     */
    @Column(name = "authority_id")
    private String authorityId;

    /**
     * 获取资源ID
     *
     * @return resources_id - 资源ID
     */
    public String getResourcesId() {
        return resourcesId;
    }

    /**
     * 设置资源ID
     *
     * @param resourcesId 资源ID
     */
    public void setResourcesId(String resourcesId) {
        this.resourcesId = resourcesId;
    }

    /**
     * 获取权限ID
     *
     * @return authority_id - 权限ID
     */
    public String getAuthorityId() {
        return authorityId;
    }

    /**
     * 设置权限ID
     *
     * @param authorityId 权限ID
     */
    public void setAuthorityId(String authorityId) {
        this.authorityId = authorityId;
    }
}